package com.web.service;

import com.dto.BaseDto;
import com.entity.Condition;
import com.entity.Dietitian;
import com.page.PageInfo;

import java.text.ParseException;
import java.util.List;

public interface DietitianService {

    public BaseDto<Dietitian> getDietitiansByPage(PageInfo pageInfo) throws Exception;

    public BaseDto<Dietitian> getDietitiansByPage(PageInfo pageInfo, String cacheId) throws Exception;

    public BaseDto<String> searchDietitianIdsByName(String petternName) throws Exception ;

    /**
     * 添加会员
     * @param dietitian
     * @return
     * @throws Exception
     */
    public BaseDto<Dietitian> add(Dietitian dietitian) throws Exception;







}
